
<php>
//获取出租信息表记录
    $M =D('release_info');
    $lists_right = $M->order('browse desc')->select();

    //获取求租信息表记录
    $M2=D('qiuzu_info');
    $lists=$M2->order('browse desc')->select();

</php>

<div class="sider_right">
    <div class="hot-house">
        <div class="div-left">&nbsp;&nbsp;热门推荐</div>
    <hr>
        <volist name="lists_right" id="vo" offset="0" length="3" empty="暂时没有数据">
            <php>     preg_match_all('/\[(.*?)\]/',$vo['photo'],$photo);
            </php>
            <div class="hot-mod">
                <div class="hot-img"><img src="{$photo.1.0}" /></div>
                <div class="pull-right">
                    <div class="hot-title"><a href="{:U('house/Index/chuzu_detail',array('id'=>$vo['id']))}">{$vo.title}</a></div>
                    <div class="hot-price">{$vo.price}&nbsp;<span>元/月</span></div>
                    <div class="hot-position">{$vo.position}</div>

                </div>

             </div>
         </volist>
    </div>
    <div id="hot-house">
        <div class="div-left">&nbsp;&nbsp;最新求租</div>
        <hr>
        <volist name="lists" id="vo" offset="0" length="3" empty="暂时没有数据">

            <div class="hot-mod"style="height: 60px;">

                <div class="qiuzu-mod">
                    <div class="hot-title" style="font-size: 16px;width: 270px;"><a href="{:U('house/Index/qiuzu_detail',array('id'=>$vo['id']))}">{$vo.title}</a></div>
                    <div class="hot-price"style="width: 270px;">{$vo.price_min}-{$vo.price_max}&nbsp;<span>元/月</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="hot-position">{$vo.position}</span></div>


                </div>

            </div>
        </volist>
    </div>

</div>

